import request from '@/utils/request';
export default {
    //获取购物车商品列表
    getCarList:(user_id) =>request.get('/car/getCar',{params:{user_id}}),
    //添加购物车
    addCar:(user_id,shop_id) => request.post('/car/addCar',{user_id,shop_id}),
    //删除购物车
    removeCar:(user_id,shop_id) =>request.post('/car/removeCar',{user_id,shop_id}),
    //删除商品
    delCar:(user_id,shop_id) =>request.post('/car/removeShop',{user_id,shop_id})
}